package com.xdap.common.pojo.dto.webhookTest;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.ColumnType;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @BelongsProject：IntelliJ IDEA
 * @BelongsPackage：com.adisseo.service.approval.dto.webhookTest
 * @Author：fei
 * @CreateTime：2022-09-08 18:08
 * @Description:
 * @Version：1.0
 */
@Data
public class XdapProcInstance {

    private String id;
    @Column("document_id")
    private String documentId;
    private String submitter;
    private String approver;
    private String status;
    @Column("instance_id")
    private String instanceId;
    @Column("app_id")
    private String appId;
    @Column("submit_time")
    private Date submitTime;
    @Column("form_id")
    private String formId;
    @Column("menu_id")
    private String menuId;
    @Column("process_id")
    private String processId;
    @Column("node_id")
    private String nodeId;
    @Column(
            type = ColumnType.JAVA
    )
    private String taskId;
    @Column("first_label")
    private String firstLabel;
    @Column("first_data")
    private String firstData;
    @Column("first_type")
    private String firstType;
    @Column("second_label")
    private String secondLabel;
    @Column("second_data")
    private String secondData;
    @Column("second_type")
    private String secondType;
    @Column("third_label")
    private String thirdLabel;
    @Column("third_data")
    private String thirdData;
    @Column("third_type")
    private String thirdType;
    @Column("forth_label")
    private String forthLabel;
    @Column("forth_data")
    private String forthData;
    @Column("forth_type")
    private String forthType;
    @Column("node_approve_list")
    private String nodeApproveList;
    @Column(
            type = ColumnType.JAVA
    )
    private String notificationNodeId;
    @Column(
            type = ColumnType.JAVA
    )
    private String notificationId;
    @Column(
            type = ColumnType.JAVA
    )
    private String checkStatus;
    @Column("process_approved_list")
    private String processApprovedList;
    @Column(
            type = ColumnType.JAVA
    )
    private String elecSignData;
    @Column(
            type = ColumnType.JAVA
    )
    private List<UserDTO> approverDTO;
}
